{extend name="layout:base" /}

{block name="content"}
<div class="layui-fluid">

    <div class="layui-card">
        <div class="layui-card-header">优化师钱包</div>
        <div class="layui-card-body">
            <table class="layui-table"  lay-data="{page:true,even: true, id:'test'}" lay-filter="test">
                <thead>
                <tr>
                    <th lay-data="{field:'id'}"></th>
                    <th lay-data="{field:'name'}">优化师</th>
                    <th lay-data="{field:'moneyThis'}">本月金额</th>
                    <th lay-data="{field:'moneyPre'}">上月金额</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo" }
                <tr>
                    <td>{$i}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.moneyThis}</td>
                    <td>{$vo.moneyPre}</td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </div>
</div>

{/block}

{block name="script"}
<script>
    layui.config({
        base: '__STATIC__/layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index' //主入口模块
    }).use(['index', 'table', 'util','form','laydate'], function () {
        var $ = layui.$,form = layui.form,layer = layui.layer,table = layui.table,laydate = layui.laydate;
    });

</script>
{/block}